﻿using System.Collections.Generic;
using System.Threading.Tasks;
using TradeDataAPI.Core.Utilities;
using TradeDataAPI.Entity.DomainModels;

namespace TradeDataAPI.System.IServices
{
    public partial interface ISysMenuService
    {
        Task<object> GetMenu();
        List<SysMenu> GetCurrentMenuList();

        List<SysMenu> GetUserMenuList(int roleId);

        Task<object> GetCurrentMenuActionList();

        Task<object> GetMenuActionList(int roleId);
        Task<WebResponseContent> Save(SysMenu menu);

        Task<WebResponseContent> DelMenu(int menuId);


        Task<object> GetTreeItem(int menuId);
    }
}

